<?php
	class news_modifyrelationModel extends relationModel{
		public $table = "news";
		public $join = array(
				"news_data" => array(
						"type" => "has_one",
						"foreign_key" => "nid"
				),
				/*'attrrelation' => array(
						'type'=>'has_many',
						'foreign_key'=>'nid',
				),*/
		);
	}

?>